package com.example.mo.allfind.ui;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.example.mo.allfind.R;
import com.example.mo.allfind.util.TimeButton;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class Regist1Activity extends AppCompatActivity {

    @Bind(R.id.register_phone)
    EditText registerPhone;
    @Bind(R.id.yzm)
    EditText yzm;
    @Bind(R.id.btntime)
    TimeButton btntime;
    @Bind(R.id.regist_nextstep)
    Button registNextstep;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_regist1);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.btntime, R.id.regist_nextstep})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.btntime:
                break;
            case R.id.regist_nextstep:
                startActivity(new Intent(Regist1Activity.this,Regist2Activity.class));
                finish();
                break;
        }
    }
}
